<!--#include file="family_inc.asp" -->
<%
If Request.ServerVariables ("Request_Method")="POST" Then
	If reform("action")="comment_add" Then 
		Call Save_Comment()
	End If 
Else
	Call Get_Corp_Info() 
End If 
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="robots" content="all" />
<meta name="author" content="963123.com" />
<meta name="Copyright" content="Copyright (c) 2010 963123.com" />
<meta name="Description" content="海南家政信息服务平台" />
<meta name="Keywords" content="<%=Corp_Name%>,海南家政网,家政,家教,家庭服务,保洁,保姆,护理,钟点工,海南旅游,海南美食,生活,生活服务" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><%=Corp_Name%>_海南家政服务请拔963123</title>
<link href="/skin/lafot/uview.css" rel="stylesheet" type="text/css" media="screen" />
<script src="/javascript/comment.js" type="text/javascript"></script>
<script src="/javascript/JQ/jquery.tools.min.js"></script>
<script src="javascript/family.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
$(document).ready(function() { 
	$("ul.tabs").tabs("div.un_tabs_panes > div",{event:'mouseover'}); 
});
</script>

</head>
<body>
<!--#include Virtual="/include/head.asp" -->
<!--E:Header-->
<div id="current">
  <div class="m">
    <p class="idata tl">您的当前位置：<a href="/"><strong>首页</strong></a> > <a href="/Family/">家政</a> > 联盟商家 > <%=Corp_Name%></p>
  </div>
</div>
<div id="infromtag">
    <div class="m">
  	 <!--S:UN-INFO-->
  	<div class="un-info">
    	<div class="un-info-logo"><img src="<% if Corp_Pic<>"" then%><%=Corp_Pic%><%else%>/images/smallnone.png<%end if%>" width=250 height=160/></div>
        <div class="un-info-con">
        	<h1><%=Corp_Name%></h1>
            <p><%=Corp_Business%></p>
        </div>
        
        <div class="un-info-tel">
        	<h2>家政服务热线：963123</h2>
            <p>共同推进海南生活服务质量</p>
        </div>
    </div>
    <div style="clear:left"></div>
    <!--E:UN-INFO-->
    </div>
</div>
<div id="content">
  <div class="m">
    <div class="un-con">
    	<div class="un-con-img"><img src="<% if Corp_Pic<>"" then%><%=Corp_Pic%><%else%>/images/bignone.png<%end if%>" width=250 height=160/></div>
        <div class="un-con-inc">
        	<h3><%=Corp_Name%></h3>
            <p>地址：<%=Corp_Address%></p>
			<p>电话：<%=Corp_Tel%></p> 
			<p>营业时间：<%=Corp_Open%></p>
<!--            <div class="topnew">
            	<p>最新动态：海南怡安人力资源培训中心第三期海南家政人力培训班开课</p>
            </div>-->
        </div>
        <div class="un-con-map"></div>
    </div>
    <!--E:UN-CON-->
    <!-- S:Tab -->
    <div class="un_tabs">
    <div class="un_tabs_bd">
        <ul class="tabs">
            <li><a href="#N-A">企业介绍</a></li>
          <li><a href="#N-B">服务项目</a></li>
          <li><a href="#N-C">用户点评</a></li>
          <li><a href="#N-D">优惠信息</a></li>
            
        </ul>
    </div>
    <div class="un_tabs_panes">
        <div class="inc"><%=Corp_Detail%></div>
        <div>服务项目</div>
        <div class="un-s-inc">
                <!--<h3>网友点评</h3>-->
                 <!--S:commdlist-->
				 <% 
				 Sql  = "SELECT UserName,Comment,Comment_Item,Comment_Item1,Comment_Item2,Comment_Item3,Update_Date FROM Corp_Comments WHERE Corp_ID="&fm_id
				 Array_List = GetRsRows(Sql)
				 If IsArray(Array_List) Then 
					For i=0 To UBound(Array_List,2)

						UserName		= Array_List(0,i)
						Comment			= encode_article(Array_List(1,i))

						Comment_Item	= Array_List(2,i)
						Comment_Item1	= Array_List(3,i)
						Comment_Item2	= Array_List(4,i)
						Comment_Item3	= Array_List(5,i)

						Update_Date		= Array_List(6,i)

				%>
                <div class="un-s-commd" id="s-commd">
               
                	<div class="un-s-commdimg tc">
                    	<p><a href="#"><img src="/images/uesr/default.png" /></a></p>
                        <p><a href="#"><%=UserName%></a></p>
                    </div>
                    <div class="un-s-commdbg"></div>
                    <div class="un-s-commdinc">
                    <p class="un-s-commdhead">发表时间：<%=Update_Date%> 商家服务：<% Call Get_Comments_Icon(Comment_Item) %> 服务效率：<% Call Get_Comments_Icon(Comment_Item1) %> 商家环境：<% Call Get_Comments_Icon(Comment_Item2) %>价格实惠：<% Call Get_Comments_Icon(Comment_Item3) %></p>
                    <p class="un-s-commdrecod"><%=Comment%></p>
                    </div>
                </div>
    <%
				Next
				End If 
				%>

                <!--S:commdlist-->
        </div>
        <div>优惠信息ddd</div> 
    </div>
    
    </div>
    <p style="border:1px solid #ddd; padding:10px 20px; width:940px; margin:10px auto 0px;">该信息由商家发布，如直接或间接导致的民事或刑事法律责任由您个人承担。</p>

    <!-- E:Tab -->
    <div class="service-con">
    <h3>发表评论</h3>
    <div class="service-demand">
    <form action="family_detail.asp" onsubmit="return VerifyInput_Comment();" method="post">
    	<div class="service-commentd">
		<script language="javascript">
        <!--
        var biz_specail;
        var biz_specail = new Array("商家服务","商家环境","服务效率","价格实惠");
        for(i=0;i<biz_specail.length;i++)
            {
            prtf("<li>"+biz_specail[i]+"：<input type=hidden name='comment_item"+(i+1)+"' id='comment_item"+(i+1)+"'>");
            initChgK('comment_item'+(i+1), 'shw_app'+i);
            prtf("</li>");						 		
            }
        //-->	
        </script>
        </div>
        <div class="service-inc"><textarea id="comment_content" name="comment_content" class="border01" style="overflow:hidden"></textarea></div>
        <div class="service-btn"><button type="submit"><span>提交评论</span></button></div>
		<input type="hidden" name="fm_id" value="<%=fm_id%>">
		<input type="hidden" name="action" value="comment_add">

    </form>
    </div>
    </div>
    <!-- E:service_con -->  
              
  </div>
</div>
<!--E:Content-->

<!--#include Virtual="/include/bottom.asp" -->
</body>
</html>
